import { RouteRecordRaw } from "vue-router";
import MtmSon from "./MtmSon/index";
import {copyObj} from "@/utils/util"

// const sonRouter =  copyObj(MtmSon);

// console.log( ,'mtm');

// 首页模块
const router: Array<RouteRecordRaw> = [
    {
        path: "/mtm",
        name: "mtm",
        redirect: "/mtm/index",
        component: () => import("@/layout/homeIndex.vue"),
        meta: {
            title: "首页",
        },
        children:  [
            ...copyObj(MtmSon)
        ]
        
    },

];

export default router;